apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: {{ include "spilo-art.serviceAccountName" . }}
  labels:
    {{- include "spilo-art.labels" . | nindent 4 }}
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: Role
  name: {{ include "spilo-art.serviceAccountName" . }}
subjects:
- kind: ServiceAccount
  name: {{ include "spilo-art.serviceAccountName" . }}